package com.qys.livesMall.anchor.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.anchor.model.entity.LiveWatchRecord;
import com.qys.livesMall.anchor.model.vo.lives.app.LiveWatchRecordVO;
import com.qys.livesMall.framework.view.BaseQuery;

import java.util.List;

/**
 * 直播观看记录表(LiveWatchRecord)表数据库访问层
 *
 * @author makejava
 * @since 2023-09-14 14:47:53
 */
public interface LiveWatchRecordMapper extends BaseMapper<LiveWatchRecord> {


    /**
     * 根据用户分页查询观看记录
     * @param page
     * @param dto
     * @return
     */
    List<LiveWatchRecordVO> selectPageByUserId(Page<LiveWatchRecordVO> page, BaseQuery dto);
}

